package com.example.egcar1.mapper;

import com.example.egcar1.pojo.entity.User;
import com.example.egcar1.pojo.vo.UserLoginVo;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int selectUserByUsername(String username);

    int insertUser(User user);

    UserLoginVo selectUserByUsernameAndPassword(@Param("username") String username,@Param("password") String password);
}
